{{#if (and item.psLayout (eq item.psLayout.layout 'BORDER'))}}
<AppScrollContainer 
    name="{{item.name}}"
    {{#if isMultiData}}
    :index="data.index"
    {{/if}}
    :layoutModelDetails="store.layoutModelDetails">
    {{#each item.psPanelItems as | panelItem |}}
    <template #{{panelItem.name}}>
        {{> @macro/widgets/panel-detail/include-panel.hbs type=panelItem.itemType item=panelItem isMultiData=isMultiData panel=panel page=page}}
    </template>
    {{/each}}
</AppScrollContainer>
{{else if (and item.psLayout (eq item.psLayout.layout 'SIMPLEFLEX'))}}
<AppSimpleFlexContainer 
    name="{{item.name}}"
    {{#if isMultiData}}
    :index="data.index"
    {{/if}}
    :layoutModelDetails="store.layoutModelDetails">
    {{#each item.psPanelItems as | panelItem |}}
    <template #{{panelItem.name}}>
        {{> @macro/widgets/panel-detail/include-panel.hbs type=panelItem.itemType item=panelItem isMultiData=isMultiData panel=panel page=page}}
    </template>
    {{/each}}
</AppSimpleFlexContainer>
{{else}}
<AppStandardContainer 
    name="{{item.name}}"
    {{#if (and isMultiData (neq item.dataRegionType 'MULTIDATA'))}}
    :index="data.index"
    {{/if}}
    :isMultiContainer="{{#if (eq item.dataRegionType 'MULTIDATA')}}true{{else}}false{{/if}}"
    :layoutModelDetails="store.layoutModelDetails">
    {{#each item.psPanelItems as | panelItem |}}
    <template {{#if (eq item.dataRegionType 'MULTIDATA')}}#{{panelItem.name}}="{ data }"{{else}}#{{panelItem.name}}{{/if}}>
        {{#if (eq item.dataRegionType 'MULTIDATA')}}
        {{> @macro/widgets/panel-detail/include-panel.hbs type=panelItem.itemType item=panelItem isMultiData=true panel=panel page=page}}
        {{else}}
        {{> @macro/widgets/panel-detail/include-panel.hbs type=panelItem.itemType item=panelItem isMultiData=isMultiData panel=panel page=page}}
        {{/if}}
    </template>
    {{/each}}
</AppStandardContainer>
{{/if}}
